package fr.afcepf.iziticket.entityviews;

import fr.afcepf.iziticket.entities.Reservation;


public class ReservationVue {

	private Reservation reservation;
	private int idPanier;
	
	public Reservation getReservation() {
		return reservation;
	}
	public void setReservation(Reservation reservation) {
		this.reservation = reservation;
	}
	public int getIdPanier() {
		return idPanier;
	}
	public void setIdPanier(int idPanier) {
		this.idPanier = idPanier;
	}
	
	public float getPrixReservation(){
		float prix = reservation.getPrixTTC()*reservation.getQuantite();
		return prix;
	}
	
}
